package classDAO;

import java.util.List;

public interface DAO {

	/**
	 * Return a list with all users
	 * @return List
	 */
	public List findAll();
	
	
	/**
	 * Get the object by the given id
	 * @param id
	 * @return Object
	 */
	public Object getById(int id);
	
	
	/**
	 * Get the id of the object by the given name
	 * @param name
	 * @return Integer
	 */
	public int getIdByName (String name);
	
}
